﻿<%@ page language="C#" autoeventwireup="true" inherits="Default_Order, App_Web_e1jp1m1s" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title></title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="apple-mobile-web-app-status-bar-style" content="black" />
    <meta name="format-detection" content="telephone=no" />
    <link rel="shortcut icon" href="../Images/favicon.ico" type="image/x-icon" />
    <%=MainCss%>
    <script src="js/jquery.min.js" type="text/javascript"></script>
    <script src="js/main.js" type="text/javascript"></script>
</head>

<body style="background:#F5F5F5">
    
    <form id="form1" runat="server">
    
        <header>

            <div class="topbar">
                <a href="javascript:history.back(-1)" class="back_btn"><i class="icon iconfont">&#xf0115;</i></a>
                <a href="javascript:;" class="top_home"></a>
                <h1 class="page_title"><asp:Label ID="lblTitle" runat="server"></asp:Label></h1>
            </div>
    
        </header>
   
        <asp:ScriptManager id="ScriptManager1"  runat="server"></asp:ScriptManager>

        <asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional">
            <ContentTemplate>
                
                <div style="padding:10px;">

                <div id="AddressDiv" runat="server" style="background:#fff; border-radius:10px; border:solid 1px #f1f1f1; padding:10px; margin-bottom:8px;">

                </div>
                    
                <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" GridLines="None" BorderWidth="0px" Width="100%" OnRowDataBound="GridView1_RowDataBound">
                    <Columns>
                        <asp:TemplateField HeaderText="选" Visible="False">
                            <ItemTemplate>
                                <asp:Label ID="lblID" runat="server" Text='<%# Bind("pk_Cart") %>' Visible="False"></asp:Label>
                                <asp:Label ID="lblfkID" runat="server" Text='<%# Bind("fk_ID") %>' Visible="False"></asp:Label>
                                <asp:Label ID="lblImagePath" runat="server" Text='<%# Bind("ImagePath") %>' Visible="False"></asp:Label>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField>
                            <ItemTemplate>
                            
                                <div style="background:#fff; border-radius:10px; border:solid 1px #f1f1f1; margin-bottom:8px;">

                                    <div style="padding:10px;">
                                        <table style="width:100%;">
                                            <tr>
                                                <td style="width:90px">
                                                    <asp:Image ID="imgProduct" runat="server" style="width:80px; border-radius:5px;" />
                                                </td>
                                                <td style="font-size:9pt;vertical-align:top;">
                                                    <asp:Label ID="lblProductName" runat="server" Text='<%# Bind("ProductName") %>'></asp:Label>
                                                    <div style="font-size:8pt; color:#999; padding-top:10px;">
                                                        <asp:Label ID="lblRemark" runat="server" Text='<%# Bind("Remark") %>'></asp:Label>
                                                    </div>
                                                </td>
                                                <td style="vertical-align:top; width:40px;">
                                                    <div style="text-align:right; font-size:10pt;">￥<asp:Label ID="lblPrice" runat="server" Text='<%# Bind("Price") %>'></asp:Label></div>
                                                    <div style="text-align:right; font-size:8pt; color:#BEBEBE;">×<asp:Label ID="lblQty" runat="server" Text='<%# Bind("Qty") %>'></asp:Label></div>
                                                </td>
                                            </tr>
                                        </table>
                                    </div>

                                    <div>
                                        <table style="width:100%;">
                                            <tr>
                                                <td style="width:90px; text-align:right; font-size:9pt; padding:10px 0px;">
                                                    保障服务
                                                </td>
                                                <td style="font-size:9pt; color:#9C9C9C; padding:10px 0px 10px 10px;">
                                                    如有硬件故障包更换
                                                </td>
                                            </tr>
                                            <tr>
                                                <td style="width:90px; text-align:right; font-size:9pt; padding:10px 0px;">
                                                    配送方式
                                                </td>
                                                <td style="font-size:9pt; color:#9C9C9C; padding:10px 0px 10px 10px;">
                                                    免运费
                                                </td>
                                            </tr>
                                            <tr>
                                                <td style="width:90px; text-align:right; font-size:9pt; padding:10px 0px;">
                                                    订单备注
                                                </td>
                                                <td style="font-size:9pt; color:#9C9C9C; padding:10px 0px 10px 10px;">
                                                    <asp:TextBox ID="txtRemark" runat="server" style="font-size:9pt; color:#9C9C9C; border:0px; outline:none;" placeholder="选填，请先和商家协商一致"></asp:TextBox>
                                                </td>
                                            </tr>
                                        </table>
                                    </div>

                                    <div style="padding:10px; text-align:right; font-size:9pt;">
                                        共<asp:Label ID="lblQty1" runat="server" Text='<%# Bind("Qty") %>'></asp:Label>件，<span style="color:#333;">小计</span>：<span style="font-weight:700; color:#FF5800; font-size:10pt;"><small style="margin-right:2px;">￥</small><asp:Label ID="lblTotal1" runat="server"></asp:Label></span>
                                    </div>

                                </div>
                    
                            </ItemTemplate>
                        </asp:TemplateField>
                    </Columns>
                </asp:GridView>
                   
                <div id="CouponDiv" runat="server" style="background:#fff; border-radius:10px; border:solid 1px #f1f1f1; padding:10px; margin-bottom:8px;">
                    
                </div>
                   
                <div id="PayList" runat="server" style="background:#fff; border-radius:10px; border:solid 1px #f1f1f1; padding:10px; margin-bottom:8px;">
                    
                    <asp:RadioButtonList ID="rblPay" runat="server" CssClass="rbl">
                    </asp:RadioButtonList>

                </div>
                   
                <div style="height:44px;"></div>

                </div>
                
                <div style="text-align:center; position:fixed; bottom:0px; background:#FEFEFE; width:100%; height:53px">

                    <table style="width:100%;border:0;margin:0;border-collapse:collapse;border-spacing:0;">
                        <tr>
                            <td style="text-align:right; border-top:solid 1px #f1f1f1; padding-right:10px; font-size:10pt; color:#999;">
                                共<asp:Label ID="lblQty" runat="server"></asp:Label>件，<asp:Label ID="lblCoupon" runat="server"></asp:Label><b style="color:#333;">合计</b>：<span style="font-weight:700; color:#FF5800; font-size:12pt;"><small style="margin-right:2px;">￥</small><asp:Label ID="lblTotal" runat="server"></asp:Label></span>
                            </td>
                            <td style="width:120px; text-align:center; vertical-align:middle; height:50px; border-top:solid 1px #f1f1f1;">
                                <asp:Button ID="btnSubmit" runat="server" Text="提交订单" OnClick="btnSubmit_Click" CssClass="add_cart" style="width:100px; line-height:40px; background-image: linear-gradient(to right, #F20401 , #FD4715); border-radius:50px; border:0px; font-size:10pt; margin:0px;" />
                            </td>
                        </tr>
                    </table>
            
                </div>

            </ContentTemplate>
        </asp:UpdatePanel>
        
        <div id="attention-dialog" class="attention-layout"></div>

    </form>
 
  
</body>

</html>